<%@ Page language="c#" Codebehind="SessionException.aspx.cs" AutoEventWireup="false" Inherits="Sedna.Core.pages.SessionException" %>
<%@ Register Tagprefix="coreims" Namespace="Sedna.Core.Controls" Assembly="Sedna.Controls" %>
<%@ Register Tagprefix="tiles" Namespace="Sedna.Core.Tiles.Holder" Assembly="Sedna.Controls" %>
<%@ Import namespace="Sedna.Core.Globalization" %>
<!-- #Include virtual="~/Core/pages/include/header.html" -->
<script language="javascript">
    function checkFrame(){
        if(parent.window.frames.length!=0) {
	        parent.window.navigate(location.href);
        }else if(window.opener!=null){
	        window.opener.navigate(location.href);
	        window.close();
        }
    }

	EventHandler.windowEventHandler.registerListener("load", {"onload":checkFrame});

	function showStackTrace(){
		var win = window.open("StackTrace.aspx", "StackTrace", "toolbar=no,width=500,height=600,directories=no,status=no,scrollbars=yes,resizable=yes,border=0,menubar=no");
		win.focus();
		return false;
	}
</script>
<TR height="100%" style="background-image:url('<%=ImageManager.Relate(this,"globe_bgrnd.gif")%>');background-repeat: no-repeat;">
	<TD align="center" valign="center">
<tiles:PagePlaceHolder ID="ContentPlaceHolder" runat="server"></tiles:PagePlaceHolder>
</TD>
</TR>
	
<%--	<body id="body" topmargin="0" leftmargin="0">
		<form id="Form1" runat="server">
			<asp:Label ID="lbl2" Run-at="ser-ver"></asp:Label>
			<coreims:ImsJavascriptEmitter id="imsJavascriptEmitter" run-at="ser-ver" />
			<table width="100%" height="100%" cellpadding = "0" cellspacing="0">
				<tr>
					<td class="tabheader" width="100%" height="30"><%=this.Configuration.GetLocalizedPostfixLabel("default.MsgBusinessError")%></td>
				</tr>
				<tr>
					<td width="100%" height="100%">
						<table width="100%" height="100%">
							<tr>
								<td>
									<coreims:ImsContainer ID="exceptionContainer" ConfigurationId="configuration.sessionexception.ExceptionInfoContainer"
													ru-nat="ser-ver" />
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</BODY>
--%>
<!-- #Include virtual="~/Core/pages/include/footer.html" -->
